// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * FBAToAddress
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "fba_to_address", autoResultMap = true)
@Schema(title = "FBA配送地址")
public class FBAToAddress implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 物流中心编码
   */
  @TableField(value = "`logistics_center_code`")
  @Schema(title = "物流中心编码")
  private String logisticsCenterCode;

  /**
   * 名称
   */
  @TableField(value = "`name`")
  @Schema(title = "名称")
  private String name;

  /**
   * 国家/地区
   */
  @TableField(value = "`country_name`")
  @Schema(title = "国家/地区")
  private String countryName;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 门牌号
   */
  @TableField(value = "`house_number`")
  @Schema(title = "门牌号")
  private String houseNumber;

  /**
   * 详细地址
   */
  @TableField(value = "`address_detail`")
  @Schema(title = "详细地址")
  private String addressDetail;

  /**
   * 城市
   */
  @TableField(value = "`city`")
  @Schema(title = "城市")
  private String city;

  /**
   * 区
   */
  @TableField(value = "`county`")
  @Schema(title = "区")
  private String county;

  /**
   * 州/省/地区
   */
  @TableField(value = "`area`")
  @Schema(title = "州/省/地区")
  private String area;

  /**
   * 邮政编码
   */
  @TableField(value = "`postal_code`")
  @Schema(title = "邮政编码")
  private String postalCode;
}
